<script>
export default {
  onLaunch: function () {
    console.log("App Launch")
  },
  onShow: function () {
    this.socket.on("myself", (user, users) => {
      uni.setStorageSync("user", user)
      uni.setStorageSync("users", users)
    })
  },
  onHide: function () {
    console.log("App Hide")
  },
}
</script>

<style lang="scss">
/*每个页面公共css */
@import "./uview-ui/index.scss";
</style>
